<script setup>
import MyChild1 from './MyChild1.vue'
import MyChild2 from './MyChild2.vue'

</script>
<template>
  <div class="myfather">
    <h2>父组件</h2>
    <MyChild1/>
    <MyChild2/>
  </div>
</template>
<style scoped>
.myfather {
  background-color: #4dd4bd;
  padding: 10px;
  border: 1px solid #000;
}
</style>